package com.lc.activiti.sys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.lc.activiti.config.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 人员角色关系(SysUserRole)表实体类
 *
 * @author 骆超
 * @since 2021-06-28 15:37:19
 */
@SuppressWarnings("serial")
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("人员角色关系")
@Accessors(chain = true)
public class SysUserRole extends BaseEntity {
    /**
     * 角色id
     */
    @ApiModelProperty("角色id")
    private Long roleId;
    /**
     * 人员id
     */
    @ApiModelProperty("人员id")
    private Long userId;
    /**
     * 角色id集合
     */
    @ApiModelProperty("角色id集合")
    @TableField(exist = false)
    private List<Long> roleIds;

}
    
